home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
snip9707.zip
/
BIPORT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1997-07-05
|
478b
|
27 lines
/* +++Date last modified: 05-Jul-1997 */
/*
** BIPORT.C - Port TC/TC++/BC++ code using register pseudovariables
**
** public domain by Bob Stout
*/
#ifndef __TURBOC__
#include "biport.h"
union REGS BIP_regs_;
struct SREGS BIP_sregs_;
#ifndef geninterrupt
unsigned PASCAL geninterrupt(int int_no)
{
int86x(int_no, &BIP_regs_, &BIP_regs_, &BIP_sregs_);
return BIP_regs_.x.ax;
}
#endif /* geninterrupt() */
#endif /* __TURBOC__ */